The Check method checks formula for errors (syntax errors).
Syntax
Sub Check (pBool As Boolean, ppErrorString As String)
Parameters
Parameter
Description
pBool
Boolean value indicating the condition of the formula string. Will be set to TRUE if the formula is valid and FALSE if the formula contains one or more errors.
ppErrorString
Specifies the error message string if the formula contains an error.